from django.urls import path

from apps.demo import views



urlpatterns = [
    path('app/v1_0/sms/codes/<mobile>',views.SendView.as_view()),
    path('app/v1_0/authorizations',views.LoginView.as_view()),
    path('app/v1_0/user',views.UserinfoView.as_view()),
    path('app/v1_0/channels',views.ChannelView.as_view()),
    path('app/v1_0/user/channels',views.UserChannelView.as_view()),
    path('app/v1_0/articles',views.ArticleView.as_view()),
    path('app/v1_0/articles/<article_id>',views.DetailView.as_view()),
    path('app/v1_0/user/followings',views.FollowedView.as_view()),
    path('app/v1_0/user/followings/<id>',views.UFollowedView.as_view()),
    path('app/v1_0/article/likings',views.LikeingView.as_view()),
    path('app/v1_0/article/likings/<id>',views.ULikeingView.as_view()),
    path('app/v1_0/article/dislikes',views.UDisliskeingView.as_view()),
    path('app/v1_0/article/dislikes/<id>',views.UDisliskeingView.as_view()),
    path('app/v1_0/article/collections',views.CollectView.as_view()),
    path('app/v1_0/comments',views.CommentView.as_view()),
    path('app/v1_0/user/histories',views.HistoryView.as_view()),
    path('app/v1_0/user/followers',views.FollowView.as_view()),

]
